package org.exercise10.visitor.impl;

import org.exercise10.visitor.Element;
import org.exercise10.visitor.Visitor;

/**
 * @author Stranger
 * @version 1.0
 * @description: TODO
 * @date 2022/12/20 19:27
 */
public class Employee implements Element {

    private String type;

    public Employee(String type) {
        this.type = type;
    }

    public String getType() {
        return type;


    }

    @Override
    public void access(Visitor visitor) {
        visitor.action(this);
    }
}
